package com.open.center.jwt.exception;

import java.io.Serial;

/**
 * Token过期异常
 *
 * @author Riche's
 * @since 2025/5/23
 */
public class JwtExpiredException extends Exception {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * Creates a new Expired exception with the specified message.
     *
     * @param message The exception message.
     */
    public JwtExpiredException(final String message) {

        super(message);
    }


    /**
     * Creates a new Expired exception with the specified message and cause.
     *
     * @param message The exception message.
     * @param cause   The exception cause.
     */
    public JwtExpiredException(final String message, final Throwable cause) {

        super(message, cause);
    }

    /**
     * Creates a new Expired exception with the specified cause.
     *
     * @param cause The exception cause.
     */
    public JwtExpiredException(final Throwable cause) {
        super(cause);
    }

    /**
     * Creates a new Expired exception with the specified cause.
     */
    public JwtExpiredException() {
        super();
    }

}
